<<<<<<< HEAD
var example = require('./example.js') //如果参数字符串以“./”开头，则表示加载的是一个位于相对路径
console.log(example.x) // 5
console.log(example.addX(1)) // 6
=======
var x = 5;
var addX = function (value) {
  return value + x;
};
module.exports.x = x;
module.exports.addX = addX;
>>>>>>> f3d63e0567f1ba713ba7a446af9d4c852e2aaf11
